package com.service;

import com.model.Orders;
import com.page.GenericPage;
import com.po.OrdersPO;
import com.result.Result;
import com.vo.OrderCondition;
import com.vo.OrdersQueryVO;
import com.vo.OrdersVO;

/**
 * @Author: chihaojie
 * @Date: 2019/5/29 16:02
 * @Version 1.0
 * @Note
 */
public interface OrdersService {
    OrdersVO save(OrdersPO ordersPO);

    Result<Orders> selectByOrderNumber(String orderNumber);

    Result<GenericPage<OrdersQueryVO>> findOrderByPage(OrderCondition condition);

    public Result<Boolean> updateLockStatus(Long orderId,int lockStatus);
}
